package com.googlecode.jwsm.security;

import java.io.*;
import java.util.*;


public class SuperUser implements User {
	private String username;
	
	public SuperUser(String username) {
		this.username = username;
	}
	
	public Privilege[] getPrivileges() {
		System.out.println("Get Privileges Called!");
		return null;
	}

	public Properties getProperties(String arg0) {
		System.out.println("Get Properties Called!");
		return null;
	}

	public Object getProperty(String arg0) {
		System.out.println("Get Property Called!");
		return null;
	}

	public String[] getPropertyNames(String arg0) {
		System.out.println("Get Property Names Called!");
		return null;
	}

	public String getUsername() {
		return username;
	}

	public boolean hasPrivilege(String arg0) {
		return true;
	}

	public boolean isAuthorized(String arg0) {
		return true;
	}

	public void setProperty(String arg0, Serializable arg1) {
		System.out.println("Set Property Called!");
	}

	public String getName() {
		return getUsername();
	}
}